import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBImageStyle/YBImageStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBTextStyle/YBTextStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBModule/YBMineModule/YBQiYePersonPage/YBNumberManagerProvider/YBYBImageProvider.dart';


class YBBangBanShiSubPage extends StatelessWidget {

  final String imageStr;
  final String titleStr;

  const YBBangBanShiSubPage({Key key, this.imageStr, this.titleStr}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      height: YBTextStyle.adapterSize80,
      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        crossAxisAlignment: CrossAxisAlignment.center,
        children: [
          Container(
            width: YBTextStyle.adapterSize40,
            height: YBTextStyle.adapterSize40,
            child: SvgPicture.asset(YBImageStyle.getBangBanShiSVGPath(imageStr)),
          ),
          Container(
            height: YBTextStyle.adapterSize12,
          ),
          Container(
            child:Text(titleStr,style: YBTextStyle.TextStyle30313314,),
          ),
        ],
      ),
    );
  }
}
